package com.ruoyi.filingCabinet.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 档案柜对象 filing_cabinet
 * 
 * @author lijie
 * @date 2025-03-20
 */
public class FilingCabinet extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long filingId;
    private Long archiveId;

    /** 档案柜名称 */
    @Excel(name = "档案柜名称")
    private String filingName;

    /** 档案柜描述 */
    @Excel(name = "档案柜描述")
    private String filingDescription;
    private String filingDescription1;

    /** 创建者 */
    @Excel(name = "创建者")
    private String creater;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createDate;

    public void setFilingId(Long filingId) 
    {
        this.filingId = filingId;
    }

    public Long getFilingId() 
    {
        return filingId;
    }
    public void setFilingName(String filingName) 
    {
        this.filingName = filingName;
    }

    public String getFilingName() 
    {
        return filingName;
    }
    public void setFilingDescription(String filingDescription) 
    {
        this.filingDescription = filingDescription;
    }

    public String getFilingDescription() 
    {
        return filingDescription;
    }
    public void setCreater(String creater) 
    {
        this.creater = creater;
    }

    public String getCreater() 
    {
        return creater;
    }
    public void setCreateDate(Date createDate) 
    {
        this.createDate = createDate;
    }

    public Date getCreateDate() 
    {
        return createDate;
    }

    public Long getArchiveId() {
        return archiveId;
    }

    public void setArchiveId(Long archiveId) {
        this.archiveId = archiveId;
    }

    public String getFilingDescription1() {
        return filingDescription1;
    }

    public void setFilingDescription1(String filingDescription1) {
        this.filingDescription1 = filingDescription1;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("filingId", getFilingId())
            .append("filingName", getFilingName())
            .append("filingDescription", getFilingDescription())
            .append("creater", getCreater())
            .append("createDate", getCreateDate())
            .toString();
    }
}
